package com.xuxin.baby.contract;

import com.xuxin.baby.bean.ChildSicknessBean;
import com.xuxin.baby.presenter.ChildSicknessPresenter;

/**
 * Created by xu_xin
 * Created on 2020/10/22 0022
 * 看病记录
 */
public interface ChildSicknessContract {

    interface Model {

        void getChildSickness(ChildSicknessPresenter presenter,
                              String tenantId,
                              String token,
                              String childId,
                              String eventType,
                              int skipCount,
                              int maxCount);
    }

    interface View extends BaseContract.view {

        void onSuccess(ChildSicknessBean childSicknessBean);
    }

    interface Presenter extends BaseContract.presenter {

        void getChildSickness(String tenantId,
                              String token,
                              String childId,
                              String eventType,
                              int skipCount,
                              int maxCount);

        void onSuccess(ChildSicknessBean childSicknessBean);
    }
}